package com.cqjtu.eecs.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 培养方案
 * </p>
 *
 * @author
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Project对象", description="培养方案")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "培养方案编号")
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    @ApiModelProperty(value = "年级")
    private Integer grade;

    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "版本编号")
    private String versionCode;

    @ApiModelProperty(value = "版本名称")
    private String versionName;

    @ApiModelProperty(value = "毕业学分")
    private BigDecimal graduateCredit;

    @ApiModelProperty(value = "培养目标概述")
    private String trainingGoalBrief;
    @ApiModelProperty(value = "基本学制")
    private Integer basicYear;


    public Project() {
    }

    public Project(Integer pid,
                   Integer grade,
                   String majorCode,
                   String versionCode,
                   String versionName,
                   BigDecimal graduateCredit,
                   String trainingGoalBrief,
                   Integer basicYear) {
        this.pid = pid;
        this.grade = grade;
        this.majorCode = majorCode;
        this.versionCode = versionCode;
        this.versionName = versionName;
        this.graduateCredit = graduateCredit;
        this.trainingGoalBrief = trainingGoalBrief;
        this.basicYear = basicYear;
    }
}
